package com.solute.web.sso.login.dao;

import org.apache.ibatis.annotations.Select;

import com.solute.web.sessions.User;


public interface LoginDao {
	
	@Select("select password from users where email=#{email}")
	public <T> String getUserPassword(String email);
	
	public <T> void updateUserIp(T userVO);
	
	@Select("select email from users where ip=#{ip}")
	public <T> User getUserFromIp(T ip);
}
